package com.zhang.mapper;

import com.zhang.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {
    public void save(Employee employee);

    public List<Employee> findAll();

    public  Employee findById(int id);

    public void update(Employee employee);

    public void delete(int id);

}
